#ifndef PrintPort_First
#define PrintPort_First
#ifdef __GNUG__
#pragma interface
#endif

#include "Port.h"

//---- PrintPort ---------------------------------------------------------------

class PrintPort: public Port {
public:
	MetaDef(PrintPort);
	PrintPort();
	void OpenPage(int pn);
	void ClosePage();
	virtual void DevOpenPage(int pn);
	virtual void DevClosePage();

protected:
	void Merge(const Rectangle &r);

protected:
	Rectangle bbox, pagebbox;
};

#endif
